class CreateOrderMades < ActiveRecord::Migration
  def self.up
    create_table :order_mades do |t|
      t.integer :enterprise_id
      t.integer :order_item_id
      t.integer :feed_id
      t.integer :order_made_count
      t.string :creator_name
      t.string :factory_name
      t.date :order_made_on
      t.text :remark
      t.integer :updated_by_user_id
      t.timestamps
    end
  end

  def self.down
    drop_table :order_mades
  end
end
